<template>
  <view>
    <uni-ec-canvas
      class="uni-ec-canvas"
      id="line-chart"
      canvas-id="multi-charts-line"
      :ec="ec"
    ></uni-ec-canvas>
  </view>
</template>

<script>
import uniEcCanvas from "../uni-ec-canvas/uni-ec-canvas.vue";
import {option1} from "../js/chares.js";
export default {
  data() {
    return {
      ec: {
        option: option1
      },
    };
  },
  components: {
    uniEcCanvas
  }
};
</script>

<style scoped>
.uni-ec-canvas {
  width: 750upx;
  height: 750upx;
  display: block;
}
</style>
